<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{ config('app.name') }}</title>
	<!--  1.bootstrap引入  -->
    <link href="{{ asset('/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
</head>
<body>

<!-- 后台导航栏 -->
<div data-example-id="navbar-fixed-to-top" class="bs-example bs-navbar-top-example" >
	<!-- 添加 .navbar-fixed-top 类可以让导航条固定在顶部 -->
	<nav class="navbar navbar-default navbar-fixed-top navbar-inverse" >
		<div class="container-fluid" >
			
			<div class="navbar-header"  >
				<a href="{{ url('/admin/index') }}" class="navbar-brand" style="font-size:21px;">Car Club</a>
			</div>

			<div id="bs-example-navbar-collapse-6" class="collapse navbar-collapse">
			  <ul class="nav navbar-nav text-center">
				<!-- 下拉选项 -->
				<!-- <li class="active"> -->
				<!-- <li class="dropdown"> -->
				
				<li>
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="font-size:18px;" >用户 <span class="caret"></span></a>
					<!-- 必有类 dropdown-menu -->
					<ul class="dropdown-menu" >
						<li><a href="{{ url('/user') }}" >浏览用户</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="font-size:18px;" >商品 <span class="caret"></span></a>
					<!-- 必有类 dropdown-menu -->
					<ul class="dropdown-menu" >
						<li><a href="{{ url('/com/create') }}" >添加商品</a></li>
						<li><a href="{{ url('/com/index') }}" >商品列表</a></li>
						<li><a href="{{ url('/category/create') }}" >添加分类</a></li>
						<li><a href="{{ url('/category/index') }}" >分类列表</a></li>
						
					</ul>
				</li>
				<li>
					<a href="{{ url('/orderIndex') }}" style="font-size:18px;" >
						订单查询 
					</a>
				</li>
				
				<li>
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="font-size:18px;" >员工管理 <span class="caret"></span></a>
					<!-- 必有类 dropdown-menu -->
					<ul class="dropdown-menu" >
						<li><a href="{{ url('/admin/create') }}" >新增</a></li>
						<li><a href="{{ url('/admin') }}" >浏览</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="font-size:18px;" >首页轮播 <span class="caret"></span></a>
					<!-- 必有类 dropdown-menu -->
					<ul class="dropdown-menu" >
						<li><a href="{{ url('/shuffling/create') }}" >添加</a></li>
						<li><a href="{{ url('/shuffling/index') }}" >浏览</a></li>
					</ul>
				</li>
				
				<li>
					<a href="{{ url('/newMsg') }}"  style="font-size:18px;" >未读留言<span class="badge">{{ session('message') }}</span></a>
				</li>
				
				<li>
					<a href="{{ url('/friend/list') }}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="font-size:18px;" >友情链接</a>
				</li>
				
				<li>
					<a href="{{ url('/starMsg') }}" style="font-size:17px;" >{{ session('admin_name') }}</a>
				</li>
				<li>
					<a href="{{ url('/admin/loginOut') }}" style="font-size:17px;">退出</a>
				</li>
			  </ul>
			</div>
      </div>
    </nav>
</div>

<!-- 权限信息 -->
<div id="authInfo" style="position:absolute;width:250px;height:30px;left:68%;top:15%;font-size:18px;color:#20B2AA;z-index:20;" >{{ session('authInfo') }}</div>
<script src=" {{ asset('/js/jquery-1.8.3.min.js') }} "></script>
<script>
$(function(){
	$("#authInfo").slideUp(3000);
})
</script>
